<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<?php
	include_once('conf.php');
	include_once("$GLOBALS[dir_class]/CCore.php");
	include_once("$GLOBALS[dir_module]/index/MIndex.php");

	$core = new CCore("cinema");
	$core->start();

	$main = new MIndex();

	$main->inizialize();
	$main->run();

	echo $main->display();
	$main->terminate();

	echo "<hr><div style=\"background:#FFFFFF none repeat scroll 0%;text-align:left;border:1px solid #000000;padding:5px 5px;font-size:12px;\">
	<pre><b>DEBUG CALLS</b>\n";
	echo $core->displayDebug();
	echo "</pre></div>";

?>